// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
import { roterPre } from '@/settings'
const mingsRouter =
{
    path: `${roterPre}/mings`,
    name: 'mings',
    meta: {
        title: '民宿'
    },
    alwaysShow: true,
    component: Layout,
    redirect: 'noRedirect',
    children: [
        {
            path: 'lunbo',
            name: 'Lunbo',
            meta: {
                title: '轮播图',
                noCache: true
            },
            component: () => import('@/views/mings/lunbo/index')
        },
        {
            path: 'list',
            name: 'RoomList',
            meta: {
                title: '房间列表',
                noCache: true
            },
            component: () => import('@/views/mings/list/index'),
            children: [
                {
                    path: 'Addroom/:id',
                    name: 'RoomTitleDetail',
                    meta: {
                        title: '房间详情',
                        noCache: true,
                        activeMenu: '/mings/list',
                        hidden: true
                    },
                    component: () => import('@/views/mings/title/index')
                }
            ]
        }
    ]
}

export default mingsRouter
